import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { BakeComponent } from './bake.component';
import {ProduceplanlistComponent} from './components/produceplanlist/produceplanlist.component';
import {BeansortlistComponent} from './components/beansortlist/beansortlist.component';
import {BakerecordlistComponent} from './components/bakerecordlist/bakerecordlist.component';
import {BaketestrecordlistComponent} from './components/baketestrecordlist/baketestrecordlist.component';
import {BakecuptestlistComponent} from './components/bakecuptestlist/bakecuptestlist.component';

const routes: Routes = [{ path: '', component: BakeComponent },
  {path:'produceplan',component:ProduceplanlistComponent},
  {path:'beansort',component:BeansortlistComponent},
  {path:'bakerecord',component:BakerecordlistComponent},
  {path:'baketest',component:BaketestrecordlistComponent},
  {path:'cuptest',component:BakecuptestlistComponent}
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class BakeRoutingModule { }
